#pragma once
#include "afxwin.h"
#include "cvxDeckLinkInputCallback.h"
#include "cvxMarker.h"


// COverLay dialog

class COverLay : public CDialog
{
	DECLARE_DYNAMIC(COverLay)

public:
	COverLay(CWnd* pParent = NULL);   // standard constructor
	virtual ~COverLay();

	//added
	void updateImages(char *pdata, char *pRightData, int w, int h, int nChannels, 
					 const vector<CvxMarker> &leftMarkers, const vector<CvxMarker> &rightMarkers, bool flipRight);

// Dialog Data
	enum { IDD = IDD_OVERLAY };

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support

	DECLARE_MESSAGE_MAP()
public:
	virtual BOOL OnInitDialog();
	afx_msg void OnPaint();
	// pixture show overlay images
	CStatic m_overlayPic;
	IplImage *m_leftImage;   //grb
	IplImage *m_rightImage;
	IplImage *m_anaglyphImage;
};
